package poker;
import junit.framework.TestCase;


public class KartaTest extends TestCase {
Karta as=null;
    protected void setUp() throws Exception {
        super.setUp();
        
        as = new Karta (14,0);
    }
    public void testOne()
    {
        String karta = as.toString();
        assertEquals("A s", karta);
    }
    public void testTwo()
    {
        String karta = as.pobierzWartoscKarty();
        assertEquals("A", karta);
    }

    protected void tearDown() throws Exception {
        super.tearDown();
    }

}
